package com.kgen.BubbleSeaSaga.mfo;

import android.app.AlertDialog;
import android.os.Message;
import android.view.View;
import android.view.View.OnClickListener;

public class MyClickListener implements OnClickListener {

	private AlertDialog b;
	private int c;
	private BubbleSeaSaga a;

	MyClickListener(BubbleSeaSaga paramBubbleSeaSaga, AlertDialog paramAlertDialog, int paramInt) {
		a = paramBubbleSeaSaga;
		b = paramAlertDialog;
		c = paramInt;
	}

	public void onClick(View paramView) {
		this.b.cancel();
		try {
			BubbleSeaSaga.b(1);
			Message localMessage = new Message();
			localMessage.what = 59;
			localMessage.arg1 = 1;
			localMessage.arg2 = this.c;
			BubbleSeaSaga.a.sendMessageDelayed(localMessage, 50L);
			return;
		} catch (Exception localException) {
			localException.printStackTrace();
			BubbleSeaSaga.b(0);
		}
	}
}
